/**
 * <p>文件名: MonitorInfoBean.java</p>
 * <p>版权声明: Copyright &copy; 2008-2009 中科软科技股份有限公司</p>
 * <p>创建者: 王明龙</p>
 * <p>创建时间: 2009-3-24  下午12:53:45</p>
 */
package com.tjtt.common.monitor;

/**
 * 存储系统状态信息的对象
 *
 */
public class MonitorInfoBean {
    /** java虚拟机可使用内存. */
    private long totalMemory;
    
    /** java虚拟机剩余内存. */
    private long freeMemory;
    
    /** java虚拟机最大可使用内存. */
	private long maxMemory;
	
	/** java虚拟机处理器个数. */
    private int availableProcessors;
    
    /** 操作系统. */
    private String osName;
    
    /** 总的物理内存. */
    private long totalMemorySize;
    
    /** 剩余的物理内存. */
    private long freePhysicalMemorySize;
    
    /** 已使用的物理内存. */
    private long usedMemory;
    
    /** 线程总数. */
    private int totalThread;
    
    /** cpu使用率. */
    private double cpuRatio;
    
    

    public long getFreeMemory() {
        return freeMemory;
    }

    public void setFreeMemory(long freeMemory) {
        this.freeMemory = freeMemory;
    }

    public long getFreePhysicalMemorySize() {
        return freePhysicalMemorySize;
    }

    public void setFreePhysicalMemorySize(long freePhysicalMemorySize) {
        this.freePhysicalMemorySize = freePhysicalMemorySize;
    }

    public long getMaxMemory() {
        return maxMemory;
    }

    public void setMaxMemory(long maxMemory) {
        this.maxMemory = maxMemory;
    }

    public String getOsName() {
        return osName;
    }

    public void setOsName(String osName) {
        this.osName = osName;
    }

    public long getTotalMemory() {
        return totalMemory;
    }

    public void setTotalMemory(long totalMemory) {
        this.totalMemory = totalMemory;
    }

    public long getTotalMemorySize() {
        return totalMemorySize;
    }

    public void setTotalMemorySize(long totalMemorySize) {
        this.totalMemorySize = totalMemorySize;
    }

    public int getTotalThread() {
        return totalThread;
    }

    public void setTotalThread(int totalThread) {
        this.totalThread = totalThread;
    }

    public long getUsedMemory() {
        return usedMemory;
    }

    public void setUsedMemory(long usedMemory) {
        this.usedMemory = usedMemory;
    }

    public double getCpuRatio() {
        return cpuRatio;
    }

    public void setCpuRatio(double cpuRatio) {
        this.cpuRatio = cpuRatio;
    }

	
	public int getAvailableProcessors() {
		return availableProcessors;
	}

	
	public void setAvailableProcessors(int availableProcessors) {
		this.availableProcessors = availableProcessors;
	}
}


